//
//  LLListenViewController.h
//  ListenAndLook
//
//  Created by zhangtao on 15/10/21.
//  Copyright © 2015年 zt.td. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface LLListenViewController : UIViewController<AVAudioPlayerDelegate>
@property (weak, nonatomic) IBOutlet UIView *a;
@property (weak, nonatomic) IBOutlet UIView *b;


//@property (nonatomic,strong) AVAudioPlayer *audioPlayer;//播放器
@property (strong, nonatomic) IBOutlet UISlider *mySliter;

@property (strong, nonatomic) IBOutlet UIProgressView *progress;

@property (weak ,nonatomic) NSTimer *timer;//进度更新定时器


//avplayer
@property(nonatomic,strong)AVPlayer *player;
@property(nonatomic,strong)AVPlayerItem *playerItem;

@property(nonatomic,strong)NSString *idValue;



@property(nonatomic,strong)NSString *audioUrl;
@property (strong, nonatomic) IBOutlet UILabel *author;

@property (strong, nonatomic) IBOutlet UILabel *textName;

@property (strong, nonatomic) IBOutlet UIImageView *textPictureUrl;


@property(nonatomic,strong)NSString *text;

- (void)updateValue:(UISlider *)slider;



@end
